com.supermap.armap.armapping

Interface GestureListener



  • public interface GestureListener
    ARControl gesture event listening interface
    • Method Detail

      • onStart

        void onStart()
        The event begins
      • onEnd

        void onEnd()
        End of event
      • onMove

        void onMove(double x,
                    double y,
                    double moveX,
                    double moveY,
                    double velocityX,
                    double velocityY)
        One-finger movement
        Parameters:
        x - coordinates of the current touch point in the x view coordinate system
        y - view the y coordinates of the current touch point in the coordinate system
        x-direction - displacement relative to the previous onMove callback in the moveX View coordinate system
        The - y-direction displacement relative to the previous onMove callback in the moveY View coordinate system
        The - average velocity in the x-direction relative to the last onMove callback in the velocityX View coordinate system, in px/ms
        The - average velocity in the y direction relative to the last onMove callback in the velocityY View coordinate system, in px/ms
      • onSingleClick

        void onSingleClick()
        Single-click callbacks
      • onDoubleClick

        void onDoubleClick()
        Double-click the callback